package com.example.xiaomi.service;

import com.example.xiaomi.entity.AdminInfo;

import com.example.xiaomi.mapper.LoginpowerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginpowerServiceImpl implements LoginpowerService{
    @Autowired
    private LoginpowerMapper mapper;


    @Override
    public List<AdminInfo> findLoginInfo(String adminname) {

        return mapper.findLoginInfo(adminname);
    }
}
